#pragma once
#include <string>

using namespace std;

extern string config_db_host;
extern unsigned long config_db_port;
extern string config_db_name;
extern string config_db_username;
extern string config_db_password;
extern bool config_db_compress_html_resources;
extern bool config_db_compress_emails;

extern unsigned long config_cleaner_not_activated_account_period;
extern unsigned long config_cleaner_not_activated_monitor_period;
extern unsigned long config_cleaner_email_storage_period;

extern string config_emailsender_host;
extern unsigned long config_emailsender_port;
extern bool config_emailsender_auth;
extern string config_emailsender_username;
extern string config_emailsender_password;
extern unsigned long config_emailsender_threads_count;
extern string config_email_sms_sender;  

extern string config_downloader_default_http_user_agent;
extern string config_downloader_w3m_http_user_agent;
extern string config_downloader_temp_directory;
extern unsigned long config_downloader_threads_count;
extern unsigned long config_downloader_max_errors_count;
extern unsigned long config_downloader_max_download_size;
extern unsigned long config_downloader_max_favicon_size;
extern unsigned long config_downloader_max_redirs_count;

extern unsigned long config_siteproccesor_port;
extern unsigned long config_siteproccesor_max_clients_count;

extern string config_log_file;
extern unsigned long config_log_file_size;